package com.csii.branch.service.impl;

import cn.hutool.core.date.DateTime;
import com.csii.branch.controller.vo.BranchDepositStatVo;
import com.csii.branch.mapper.entity.CdBranchStatDeposit;
import com.csii.branch.mapper.CdBranchStatDepositMapper;
import com.csii.branch.service.ICdBranchStatDepositService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 网点存款统计
 * @Author: power-stdio
 * @Date:   2020-12-21
 * @Version: V1.0
 */
@Service
public class CdBranchStatDepositServiceImpl extends ServiceImpl<CdBranchStatDepositMapper, CdBranchStatDeposit> implements ICdBranchStatDepositService {

    @Override
    public List<BranchDepositStatVo> statGroupByDaily(String netId, DateTime from, DateTime end) {
        return baseMapper.statGroupByDaily(netId,from,end);
    }

    @Override
    public List<BranchDepositStatVo> statGroupByType(String netId, DateTime from, DateTime end) {
        return baseMapper.statGroupByType(netId, from, end);
    }
}
